package com.internship.javawebinternship.entity;
import lombok.Data;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;

@Entity //java实体类和数据库表的对应
@Data  //lombok的注解，自动帮我们生成get/set方法的。
public class StudentInfo {
    @Id
    private String stuno;
    private String college;
    private String profession;
    private String classes;
    private String grade;


}
